package com.ty.admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/** @author Z1776 */
@SpringBootApplication
@MapperScan("com.ty.skysystem.dao")
@ComponentScan(basePackages = {"com.ty"})
/** 开启自动配置事务 */
@EnableTransactionManagement
public class SkyAdminApplication {

  public static void main(String[] args) {
    SpringApplication.run(SkyAdminApplication.class, args);
  }
}
